/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sarco.bwi.lib;

/**
 * @deprecated v.0.0.5a
 * @author iktsup
 */
public class Node {

    private boolean done = false;
    private Config config;

    /**
     *
     * @param config
     */
    public void init(Config config) {
        this.config = config;
    }

    /**
     *
     */
    public void startJob() {
        System.out.println("Starting job!");
        while (!done) {
            /** Wait until job is done **/
        }
    }

    public boolean isDone() {
        return done;
    }

    public void setDone(boolean done) {
        this.done = done;
    }
}
